using System.Web.UI;

namespace SouthernLand.Common.Untilities
{
    [ParseChildren(true)]
    public class Button : System.Web.UI.WebControls.Button
    {
        public string ResourceName { get; set; }

        protected override void CreateChildControls()
        {
            CssClass = "Button";
            if (ResourceName != "")
            {
                Text = ResourceManager.GetString(ResourceName);
            }
        }
    }
}